<!-- 
    @file: 首页底部组件
    @auth: lizibin
 -->
<template>
  <div class="footer_copyright">
    <div class="topWrapper hidden-xs-only">
      <div class="menuWrap">
        <div class="menuBox">
          <a @click="RouterJump('/','没错,这是个博客')" class="articleBox-jump">首页</a>
          <a @click="RouterJump('article','全部文章')" class="articleBox-jump">全部文章</a>
          <a @click="RouterJump('website','网站链接')" class="articleBox-jump">网站链接</a>
          <a @click="RouterJump('about','关于')" class="articleBox-jump">关于</a>
          <a @click="RouterJump('message','留言板')" class="articleBox-jump">留言板</a>
        </div>
        <div class="copyright viaWrapper">
          <i class="via"></i>
          若没有坚持到底的勇气,还是不要开始好了.
        </div>
      </div>
    </div>
    <div class="midWrapper">
      <div class="article">
        <p>站点声明：本站转载作品版权归原作者及来源网站所有，原创内容作品版权归作者所有，任何内容转载、商业用途等均须联系原作者并注明来源。</p>
        <p></p>
        <p>
          <span>
            Copyright © 2022 小李
          </span>
          <a target="_blank" href="https://beian.miit.gov.cn"><img style="height: auto;" src="../../../assets/badge.png"
              class="badeg" />鲁ICP备20030351号-2</a>
          <!-- <br>感谢小李大佬的开源 大佬哔哩哔哩账号：小李（UID：3461580106762769） -->
          <!-- <br>博客主E-mail：<a
            href="http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&amp;email=478292420@qq.com" target="_blank">2457665356@qq.com</a> -->
        </p>
      </div>
    </div>
  </div>

</template>

<script setup lang="ts">
import {
  useRouter
} from 'vue-router';
const router = useRouter()
const RouterJump = (name: string,msg:string) => {
  // document.title = msg
  router.push({
    path: name
  })
}
</script>

<style scoped>
.articleBox-jump {
  cursor: pointer;
}

.footer_copyright .topWrapper {
  padding: 10px 0;
  border-bottom: 1px solid #ebebeb;
  color: #999;
  font-size: 12px;
  line-height: 20px;
  overflow: hidden;
}

.footer_copyright .menuWrap {
  display: flex;
  justify-content: space-between;
  width: 75%;
  margin: 0 auto;
}

.footer_copyright .menuBox {
  line-height: 30px;
}

.footer_copyright .menuBox a {
  margin-right: 10px;
  color: #999;
}

.footer_copyright .menuBox a:hover {
  color: #2FA7B9;
}

.footer_copyright .menuWrap .copyright {
  text-align: right;
  color: #777;
}

.footer_copyright .menuWrap .copyright .alink {
  padding-left: 5px;
  color: #2FA7B9;
}

.footer_copyright .viaWrapper {
  line-height: 30px;
}

.footer_copyright .viaWrapper .via {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url(../../../assets/logo_gray.svg) no-repeat;
  background-size: 30px;
  margin-right: 6px;
  float: left;
}

.footer_copyright .midWrapper {
  margin: 0 auto;
  width: 75%;
  overflow: hidden;
}

.footer_copyright .midWrapper .article {
  padding: 10px 0;
  color: #666;
  font-size: 12px;
  overflow: hidden;
  line-height: 20px;
}

.footer_copyright .midWrapper p {
  color: #666;
  font-size: 12px;
  line-height: 20px;
  margin-bottom: 10px;
}

.footer_copyright .el-footer {
  --el-footer-height: 100%;
}

.badeg {
  vertical-align: middle;
  width: 15px;
  margin: 0 2px;
}
</style>